package com.wsd.bookkeeping.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@TableName("t_account_users")
public class AccountUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    @NotNull
    private Integer userId;

    @TableField("book_id")
    @NotNull
    private Integer bookId;

    @TableField("participant_date")
    private String participantDate;

    @TableField("invite_user_id")
    @NotNull
    private Integer inviteUserId;

}





